﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="viewjob.aspx.cs" Inherits="Hired.viewjob"
    MasterPageFile="Hired2Div.master" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="HeadPlaceHolder">
    
    <style type="text/css">
        .line_jobtitle
        {
            float: left;
            margin-left: 10px;
            width: 725px;
            height: 21px;
            font-family: "Franklin Gothic Demi", "Arial";
            font-size: 30px;
        }
        .ca_submit
        {
            float: right;
            margin-top: 20px;
            margin-right: 15px;
            width: 185px;
            text-align: right;
            margin-left: 0px;
        }
        .ca1
        {
            width: 110px;
        }
        
        .ca2
        {
            width: 270px;
        }
        
        .ca3
        {
            width: 120px;
        }
        
        .ca4
        {
            width: 230px;
        }
        .linkButton
        {
            float:right;
            font: 12px, "Franklin Gothic Demi", "Arial";
            margin-top:14px;
            margin-right: 19px;
        }
        .buttons
        {   
            float:right;
        }
        .style1
        {
            font-family: "Franklin Gothic Demi", Arial;
            font-size: 20px;
            width: 40%;
        }
        .style2
        {
            text-align: right;
            font-size: 12px;
            font-family: "Franklin Gothic Demi", Arial;

            width: 60%;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="LeftPlaceHolder">

    <table width="100%">
    <tr>
    <td class="style1">
    <asp:Label ID="lblJobTitle" runat="server"></asp:Label>
    </td>
    <td class="style2">
    <asp:LinkButton ID="linkBtnAddToWatchList" runat="server" 
    onclick="linkBtnAddToWatchList_Click" Font-Size="Small"></asp:LinkButton>    
    &nbsp;.&nbsp;
    <asp:LinkButton ID="linkBtnRecommendJobseeker" runat="server" 
            onclick="linkBtnRecommendJobseeker_Click" Font-Size="Small">Recommend to Jobseeker</asp:LinkButton></td>
    </tr>
    </table>

    <table style="margin-left: 20px;">
        <tr>
            <td class="identifier">
                 Industry:
            </td>
            <td>
                <asp:Label ID="lblIndustry" runat="server"></asp:Label>
            </td>        
        </tr>
        <tr>
            <td class="identifier">
                Description:
            </td>
            <td>
                <asp:Label ID="lblDescription" runat="server"></asp:Label>
            </td>
        </tr>

        <tr>
            <td class="identifier">
                Part-Time/Full-Time:
            </td>
            <td>
                <asp:Label ID="lblType" runat="server" ></asp:Label>
            </td>        
        </tr>

        <tr>
            <td class="identifier">
                Requirements:
            </td>
            <td>
                <asp:Label ID="lblRequirements" runat="server"></asp:Label>
            </td>
        </tr>
    </table>
    <table style="margin-left: 20px;">
        <tr>
            <td class="identifier">
            Employer:
            </td>
            <td>
            <asp:Label ID="lblEmployer" runat="server" ></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="identifier">
            Location:</td>
            <td>
            <asp:Label ID="lblLocation" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="identifier">
            Date &amp; Time Posted:
            </td>
            <td>
            <asp:Label ID="lblTimestamp" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="identifier">Estimated Salary:
            </td>
            <td>
            <asp:Label ID="lblSalary" runat="server"></asp:Label>
            </td>
        </tr>
        <tr><td class="identifier">Working Hours:</td>
            <td><asp:Label ID="lblWorkingHours" runat="server"></asp:Label></td>
        </tr>
        <tr><td>&nbsp;</td></tr>
        <tr><td>&nbsp;</td></tr>
        <tr><td>&nbsp;</td></tr>
    </table>

    <div class="buttons">
        <asp:Button ID="btnApply" runat="server" Text="Apply for Job" 
            onclick="btnApply_Click" OnClientClick="window.open('applyjob.aspx','Apply for job','width=400,height=100')"/>
        &nbsp;
        <asp:Button ID="btnBack" runat="server" Text="Back" onclick="btnBack_Click" />
    </div>

    <asp:ModalPopupExtender ID="linkBtnRecommendJobseeker_ModalPopupExtender" 
            runat="server" CancelControlID="btnRecommendJobseekerCancel" OkControlID="btnRecommendJobseekerConfirm" PopupControlID="pnlRecommendJobseekerPopUp" DynamicServicePath="" Enabled="True" 
            TargetControlID="linkBtnRecommendJobseeker" BackgroundCssClass="modalBackground">
        </asp:ModalPopupExtender>
        
        
        <asp:Panel ID="pnlRecommendJobseekerPopUp" runat="server" CssClass="modalPopup">
                    <strong>Recommend Job to Jobseekers</strong><br />
                    Choose buddies to recommend job:
                    <asp:GridView ID="gvRecommendToJobseeker" runat="server">
                        <Columns>
                            <asp:BoundField HeaderText="Buddies" />
                            <asp:CheckBoxField Text="Choose" />
                        </Columns>
                    </asp:GridView>
                    <br />
                    <br />
                    <asp:Button ID="btnRecommendJobseekerCancel" Style="float: right" runat="server" Text="Cancel" />
                    <asp:Button ID="btnRecommendJobseekerConfirm" Style="float: right; margin-right: 25px;" runat="server"
                        Text="OK" />
                    <asp:Button ID="btnRecommendJobseekerPopup" runat="server" Style="display: none;" />
                    <br />
                </asp:Panel>
                <asp:ModalPopupExtender ID="ModalPopupRecommendJobseekerConfirm" 
            runat="server" CancelControlID="btnRecommendJobseekerConfirmExit" OkControlID="btnRecommendJobseekerConfirm" PopupControlID="pnlConfirmRecommendJobseekerPopUp" DynamicServicePath="" Enabled="True" 
            DropShadow="True" TargetControlID="btnRecommendJobseekerPopup" BackgroundCssClass="modalBackground">
        </asp:ModalPopupExtender>
        <asp:Panel ID="pnlConfirmRecommendJobseekerPopUp" runat="server" CssClass="modalPopup">
                    <asp:Label ID="lblConfirmRecommendJobseekerNames" runat="server" />.
                    <br />
                    <br />
                    <div style="width: 100%; text-align: center;">
                        <asp:Button ID="btnRecommendJobseekerConfirmExit" Style="margin: 0 auto;" runat="server" Text="OK" />
                    </div>
                    <br />
                </asp:Panel>
</asp:Content>
<asp:Content ID="Content3" runat="server" ContentPlaceHolderID="RightPlaceHolder">
</asp:Content>
